<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class FrontendUserAddSecondPass extends Migration
{
    /**
     * Run the migrations.
     */
    public function up()
    {
        Schema::table('frontend_users', function (Blueprint $table) {
            $table->string('second_pass', 64)->nullable()->comment('二级密码');
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down()
    {
        Schema::table('frontend_users', function (Blueprint $table) {
            $table->dropColumn(['second_pass']);
        });
    }
}
